package com.geeguo.ebuilder.operation.business.system.user.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.geeguo.ebuilder.operation.base.database.entity.BaseModifyEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@TableName(value = "sys_user")
public class UserEntity extends BaseModifyEntity {

    @TableField(value = "username")
    private String username;

    @TableField(value = "password")
    private String password;

    @TableField(value = "real_name")
    private String realName;

    @TableField(value = "gender")
    private Integer gender;

    @TableField(value = "mobile")
    private String mobile;

    @TableField(value = "email")
    private String email;

    @TableField(value = "org_id")
    private String orgId;

    @TableField(value = "last_login_time")
    private Date lastLoginTime;

    @TableField(value = "state")
    private Integer state;
}
